<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>Nizovi</title>
        <script type="text/javascript">
        Array.prototype.mojprop="Moj property";
 </script>
    </head>
    <body>
        <form name="f1" method="get" enctype="text/plain">
            <input/>
            <br/>
            <input/>
            <br/>
            <input/>
            <button type="button">Button</button>
        </form>
        <script type="text/javascript">
          var niz = new Array("I", "II", "III", "IV", "V");
          var duzina = niz.length;
          /*  for (var i = 0;i < niz.length;i++) {
              alert(niz[i]);
          }*/
          var niz1 = new Array(2);
          niz1[0] = "a";
          niz1[1] = "b";          
          for (var i = 0;i < niz1.length;i++) {
              alert(niz1[i]);
          }
          alert(niz1.constructor);
          alert(niz1.mojprop);
        </script>
    </body>
</html>